package org.xukai.scala
import scala.collection.JavaConversions.bufferAsJavaList
import scala.collection.mutable.ArrayBuffer
/**
  * @desc
  * @author xukai
  * @date 2017-11-30-下午 11:08
  */
object ArrayBufferExcersize {

 def main(args: Array[String]): Unit = {
  val commond = ArrayBuffer("javac", "E:\\IDEA_workSpace\\xukai_basic\\xukai_spark\\src\\main\\scala\\org\\xukai\\spark\\dataframe\\java\\RDD2DataFrameProgrammatically.java")
  val processBuilder = new ProcessBuilder(commond)
  val process = processBuilder.start()
  val res = process.waitFor()
  print(res)
 }
}
